import dayjs from 'dayjs';
export default [
  {
    title: '生产型号',
    key: 'moduleNo'
  },
  {
    key: 'modifyTime',
    title: '录入时间',
    customRender: row => {
      return dayjs(row.modifyTime).format('YYYY-MM-DD HH:mm:ss');
    }
  },
  { key: 'electricGlodRequired', title: '金厚(u)要求' },
  { key: 'glodActual', title: '金厚(u)实际' },
  { key: 'electricNickelRequired', title: '镍厚(u)要求' },
  { key: 'nickelActual', title: '镍厚(u)实际' },
  { key: 'tapeTest', title: '3M胶带测试' },
  { key: 'result', title: '判定' },
  {
    key: 'shiftType',
    title: '班别',
    customRender: row => {
      return ['白班', '夜班'][row.shiftType];
    }
  },
  { key: 'operator', title: '检验员' },
  { key: 'checker', title: '审核人' },
  { key: 'checkTime', title: '审核时间' },
  { key: 'remark', title: '备注' }
];
